package util;

import static org.junit.Assert.*;

import java.sql.Connection;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

import oracle.net.aso.n;

public class jdbcTest {
	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
		new jdbc();
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

//	@Test
//	public void testGetConn() {
//
//		jdbc.getConn();
//		System.out.println("ss");
//		Connection con = jdbc.getConn();
//		jdbc.close(con, null, null);
//		System.out.println("11");
//
//	}
	@Test
	public void testMysqlCon() {
		jdbc_mysql.getConn();
		System.out.println("jdbctest_suc47");
		Connection connection=jdbc_mysql.getConn();
		System.out.println(connection+"");
//		jdbc_mysql.close(connection, null, null);
		System.out.println("jdbctest_suc50");
	}

}
